package com.sprint.service;

import com.sprint.domain.Book;
import org.springframework.stereotype.Service;

import java.util.List;


public interface BookService {

    Boolean save(Book book);
    Boolean update(Book book);
    Boolean delete(Integer id);
    Book getById(Integer id);
    List<Book> getAll();



}
